The CPU generates 32-bit virtual addresses with a 4 KB page size. The TLB holds 128 page table entries and is 4-way set associative.
We split the 32-bit virtual address into:
The TLB has 128 entries, and with 4-way set associativity, there are:
128 / 4 = 32 sets, so we need 5 bits for the index.
The total number of bits for the virtual address is 32:
The minimum size of the TLB tag is: 15 bits
Given:
Set index bits: \( \log_2(32) = 5 \text{ bits} \)
TLB Tag = VPN − Set Index = 20 − 5 = 15 bits
✅ Final Answer: 15 bits
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.